var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var userSchema = new Schema({
    code: {
        type: Number
    },
    msg: {
        type: String
    },
    word: {
        type: String
    },
    time: {
        type: Number
    },
    equip: {
        type: String
    },
    dataList: {
        type: Array
    },
    time: {
        type: Date,
        default: Date.now
    },
    email: {
        type: String,
        default: ''
    }
});
module.exports = mongoose.model('users', userSchema);  